<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="fragment::header"/>
<title>用户登录页面</title>

<body>
	
	<div class="col-md-6 col-md-offset-3" style="margin-top:50px;height:50px;">
		<h4 class="text-danger" th:text="${message}" style="text-align: center;">用户名或密码错误</h4>	
	</div>
	
	<form id="login" class="form-horizontal" role="form" th:action="@{/blogger/login}" th:method="POST">
		<div class="form-group">
			<label for="username" class="col-md-5 control-label">用户名:</label>
			<div class="col-md-2">
				<input class="form-control" type="text" id="username" name="username" placeholder="请输入用户名" />
			</div>
		</div>

		<div class="form-group">
			<label for="password" class="col-md-5 control-label">密&nbsp;&nbsp;&nbsp;码:</label>
			<div class="col-md-2">
				<input class="form-control" type="password" id="password" name="password" placeholder="请输入密码"/>
			</div>
		</div>
		
		<div class="col-md-offset-5 col-md-2">
		<input type="submit" value="登录" class="btn btn-primary btn-block" />	
	</div>			
	</form>

</body>
</html>

